package novel.front.novellist.service.serviceImpl;

import novel.front.novellist.dao.ExitOrderMapper;
import novel.front.novellist.entity.ExitOrder;
import novel.front.novellist.service.ExitOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by sutong on 2017/11/13.
 */
@Service("ExitOrderService")
public class ExitOrderServiceImpl implements ExitOrderService {
    @Resource
    private ExitOrderMapper exitOrderMapper;
    @Override
    public ExitOrder selectByPrimaryUuid(String wxUuid) {
        return exitOrderMapper.selectByPrimaryUuid(wxUuid);
    }

    @Override
    public int insert(ExitOrder record) {
        return exitOrderMapper.insert(record);
    }
}
